# -*- coding: utf-8 -*-
# 下载bert:使用魔搭社区

#模型下载
from modelscope import snapshot_download

# path: config/base.yaml pretrain_cache_dir


# model_id:
# revision:
# cache_dir:
model_dir = snapshot_download('google-bert/bert-base-chinese', cache_dir='/root/autodl-tmp//models/pretrained')